package com.ruoyi.wms.domain.entity.partolStore;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;

/**
 * 巡检方案对象 inspection_plan
 *
 * @author 邓滔滔
 * @date 2024-11-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("inspection_plan")
public class InspectionPlan extends BaseEntity {

    @Serial
    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 设备ID
     */
    private Long equipmentId;
    /**
     * 设备类型
     */
    private String equipmentType;
    /**
     * 巡检频率（单位：天）
     */
    private Long frequency;
    /**
     * 巡检间隔时
     */
    private Long intervalDays;
    /**
     * 下次巡检日期
     */
    private Date nextInspectionDate;
    /**
     * 巡检项目
     */
    private String inspectionItems;
    /**
     * 巡检人ID
     */
    private Long inspectorId;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 备注
     */
    private String notes;

}
